package com.tsd.jxc.fin.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.fin.entity.JxcFinanceQue;
import com.tsd.jxc.fin.entity.JxcFinanceQueExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcFinanceQue服务实现层接口
 *
 * @author Hillpool
 * @date 2022/09/02 16:42:49
 */
public interface JxcFinanceQueService {

    /**
     * 描述：根据id获取JxcFinanceQue
     *
     * @param id
     */
    JxcFinanceQue getJxcFinanceQueById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcFinanceQue
     *
     * @param sid
     */
    JxcFinanceQueExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcFinanceQue
     *
     * @param list
     */
    void deleteJxcFinanceQues(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcFinanceQue
     *
     * @param record
     * @param opUser
     */
    void saveJxcFinanceQue(JxcFinanceQue record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinanceQue
     *
     * @param params
     * @param page
     */
    List<JxcFinanceQueExt> findJxcFinanceQues(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinanceQue
     *
     * @param params
     */
    List<JxcFinanceQueExt> findJxcFinanceQues(Map<String, Object> params) throws Exception;
}